package com.lock.immersive.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lock.immersive.pojo.domain.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author zhao
* @description 针对表【orders】的数据库操作Mapper
* @createDate 2023-07-02 00:04:03
* @Entity .domain.Orders
*/
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {
    @Select("select * from orders where out_trade_no = #{outTradeNo}")
    Orders getOrderByOutTradeNo(@Param("outTradeNo") String outTrade);
}




